- group = local_assigns.fetch(:group)
- return unless Gitlab::Auth::Ldap::Config.group_sync_enabled? && group.ldap_synced?

= render Pajamas::CardComponent.new(card_options: { class: 'gl-mb-5'}, body_options: { class: 'gl-p-0 gl-px-5' }) do |c|
  - c.with_header do
    Active synchronizations
  - c.with_body do
    %ul.content-list
      - group.ldap_group_links.select(&:active?).each do |ldap_group_link|
        %li
          %strong= ldap_group_link.cn ? "Group: #{ldap_group_link.cn}" : "Filter: #{truncate(ldap_group_link.filter, length: 40)}"
          as
          %strong= ldap_group_link.human_access
